.head_bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 450rpx;
}

.custom_head_c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--themColor);

    .bar {
        position: absolute;

        .content {
            display: flex;
            align-items: center;

            .logo {
                flex-shrink: 0;
                width: 36px;
                height: 36px;
                border-radius: 18px;
                padding: 0 9px 0 10px;
            }

            .search_c {
                flex: 1;
                --cell-font-size: 14px;
                --cell-line-height: 24px;
            }

            .search {
                padding: 0 !important;

            }

            .van-search__content {
                background-color: #AACDC9 !important;
            }

            .search_leftIcon {
                margin-right: 5px;
                width: 15px;
                height: 15px;
            }

            .van-field__placeholder {
                color: var(--themColor) !important;
            }

            @media screen and (max-width: 320px) {

                .search_c {
                    --cell-font-size: 13px;
                    --cell-line-height: 22px;
                }

            }
        }
    }
}

.main_content {
    padding: 0 20rpx;
    --notice-bar-padding: 0;
}

.advantage {
    margin: 20rpx 0 16rpx;
    width: 100%;
    height: 54rpx;
}

/*通知*/
.notice_c {
    display: flex;
    align-items: center;
    margin-bottom: 20rpx;
    padding: 10rpx 0;
    border-radius: 10rpx;
    overflow: hidden;
    background-color: #fff;

    .left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 10rpx 0 10rpx;

        .logo {
            width: 34rpx;
            height: 30rpx;
        }

        .text {
            margin-top: 4rpx;
            font-size: 28rpx;
            font-weight: 600;
            letter-spacing: 2rpx;
            color: var(--themColor)
        }
    }

    .right_c {
        flex: 1;
        border-left: 2rpx solid #F9F5F4;
    }

    .van-notice-bar {
        padding: 4rpx 0 !important;
        height: auto !important;
    }

    .left_text_c {
        margin: 0 10rpx 0 14rpx;
        padding: 0 24rpx;
        color: #fff;
        border-radius: 4rpx;
        background: linear-gradient(90deg, #51A993 0%, #0D776E 100%);
    }
}

/*导航*/
.nav_c {
    position: relative;
    margin-bottom: 20rpx;
    padding: 0 20rpx;
    border-radius: 20rpx;
    background-color: #fff;

    .nav_panel {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .item {
            margin-top: 20rpx;
            text-align: center;
            width: 116rpx;
            overflow: hidden;
        }

        .img {
            width: 112rpx;
            height: 112rpx;
            overflow: hidden;
            border-radius: 10rpx;
            border: 2rpx solid var(--themColor);
        }

        .text {
            margin-top: 8rpx;
            font-size: 24rpx;
        }
    }

    .indicator {
        position: absolute;
        left: 50%;
        bottom: 10rpx;
        transform: translateX(-50%);
        display: flex;

        .item {
            width: 10rpx;
            height: 10rpx;
            background: #fff;
            border: 2rpx solid var(--themColor);
            border-radius: 50%;

            &+.item {
                margin-left: 10rpx;
            }
        }

        .active {
            width: 30rpx;
            border-radius: 10rpx;
            background-color: var(--themColor);
        }
    }
}

.order_end_c {
    display: flex;
    align-items: center;
    padding: 15rpx 20rpx;
    border-radius: 10rpx;
    background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);
    color: #fff;

    .count_down_c {
        flex: 1;
        display: flex;
        align-items: center;
        padding-right: 20rpx;

        .title {
            padding-right: 25rpx;
            font-weight: 600;
        }

        .count_down_item_c {
            display: flex;
            align-items: center;
        }

        .item {
            width: 48rpx;
            height: 46rpx;
            background: #FFF;
            border-radius: 10rpx;
            color: var(--themColor);
            font-size: 28rpx;
            font-weight: bold;
        }

        .space {
            padding: 0 10rpx;
            color: #FFF;
            font-size: 28rpx;
            font-weight: bold;
        }
    }

    .next_c {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        font-size: 23rpx;

        .special {
            font-size: 24rpx;
        }
    }
}

.daily_transaction_c {
    margin: 20rpx 0;
    padding: 0 20rpx 10rpx 20rpx;
    border-radius: 10rpx;
    background-color: #fff;

    .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20rpx 0;

        .left {
            font-size: 30rpx;
            color: var(--themColor);
            font-weight: 600;
        }
    }

    .list_c {
        display: flex;
        flex-wrap: wrap;

        .content {
            box-sizing: border-box;
            width: 33.33%;
            padding: 20rpx 0;
            border-top: 2rpx solid #F7F5F6;

            &:nth-of-type(2) .item,
            &:nth-of-type(5) .item {
                border-right: 2rpx solid #F7F5F6;
                border-left: 2rpx solid #F7F5F6;
            }
        }

        .item {
            text-align: center;
            padding: 0 16rpx;
        }

        .name {
            font-weight: 500;
        }


        .num_c {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 10rpx 0;

            .num {
                margin-right: 10rpx;
                font-size: 34rpx;
                font-weight: 600;
            }

            .up_icon,
            .down_icon {
                margin-bottom: 2rpx;
                width: 22rpx;
                height: 26rpx;
            }
        }

        .range {
            display: flex;
            justify-content: center;
            font-size: 24rpx;

            .left {
                margin-right: 16rpx;
            }
        }
    }
}

.real_transaction {
    margin: 20rpx 0;
    padding: 0 28rpx;
    border-radius: 10rpx;
    background-color: #fff;

    .panel {
        display: flex;
        align-items: center;
    }

    .left {
        padding-right: 20rpx;
        border-right: 2rpx solid #F9F5F6;
        color: var(--themColor);

        .time {
            margin-top: 10rpx;
            font-size: 24rpx;
        }
    }

    .card {
        flex: 1;
        padding: 20rpx 0 20rpx 20rpx;

        .row_1 {
            margin-bottom: 16rpx;
            display: flex;
            align-items: center;

            .price {
                margin: 0 12rpx 0 28rpx;
                color: var(--themColor);
            }

            .sum {
                color: var(--themColor);
            }
        }

        .row_2 {
            display: flex;
            color: #737373;

            .item {
                display: flex;
                align-items: center;

                &+.item {
                    padding-left: 28rpx;
                }

                .label {
                    flex-shrink: 0;
                    margin-right: 10rpx;
                    padding: 2rpx 8rpx;
                    background-color: #F8F4F5;
                    font-size: 20rpx;
                    border-radius: 10rpx;
                }

                .value {
                    font-size: 24rpx;
                }
            }
        }
    }
}

.preferential {
    margin: 20rpx 0;
    padding: 0 20rpx;
    border-radius: 10rpx;
    background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);

    .head {
        display: flex;
        align-items: center;
        padding: 24rpx 0;
        color: #fff;

        .title_c {
            display: flex;
            align-items: center;
            font-size: 32rpx;
            font-weight: bold;

            .dot {
                margin: 0 8rpx;
                width: 8rpx;
                height: 8rpx;
                border-radius: 50%;
                background-color: #fff;
            }
        }

        .describe {
            margin-left: 20rpx;
            padding: 4rpx 18rpx;
            background-color: #fff;
            border-top-left-radius: 20rpx;
            border-bottom-right-radius: 20rpx;
            color: var(--themColor);
            font-weight: 600;
        }
    }

    .scrollview_c {
        border-radius: 20rpx;
        overflow: hidden;
        background-color: #F9F5F6;
    }

    .goods_c {
        display: flex;
        width: max-content;
        padding: 16rpx 0 16rpx 20rpx;

        .good {
            flex-shrink: 0;
            margin-right: 20rpx;
            padding: 10rpx;
            border-radius: 20rpx;
            background-color: #fff;

            .image {
                position: relative;
                flex-shrink: 0;
                width: 220rpx;
                height: 220rpx;
                border-radius: 10rpx;
                overflow: hidden;

                .sold_out {
                    position: absolute;
                    z-index: 1;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba($color: #000, $alpha: 0.4);
                    color: #F6F6F6;
                    font-size: 32rpx;
                    font-weight: bold;
                }
            }

            .body {
                padding: 0 10rpx;
            }

            .name {
                margin-top: 10rpx;
            }

            .norm {
                margin-top: 8rpx;
                font-size: 24rpx;
                color: #9B999A;
            }

            .stock {
                margin-top: 8rpx;
                font-size: 24rpx;
                color: #9B999A;
            }

            .bottom {
                display: flex;
                padding-top: 4rpx;

                .price_c {
                    flex: 1;
                    padding: 4rpx 20rpx 0 0;
                    color: var(--themColorRed);
                }

                .unit {
                    font-size: 26rpx;
                }

                .add_cart_icon {
                    width: 40rpx;
                    height: 40rpx;
                }
            }
        }
    }

    .look_more {
        text-align: center;
        padding: 20rpx 0 24rpx;
        color: #fff;
    }
}

.recommend {
    margin-bottom: 20rpx;

    .head {
        display: flex;
        align-items: center;
        padding: 24rpx 0 24rpx 20rpx;

        .title_c {
            display: flex;
            align-items: center;
            font-size: 32rpx;
            font-weight: bold;

            .dot {
                margin: 0 8rpx;
                width: 8rpx;
                height: 8rpx;
                border-radius: 50%;
                background-color: #333;
            }
        }

        .describe {
            margin-left: 20rpx;
            padding: 4rpx 18rpx;
            background-color: var(--secondThemeColor);
            border-top-left-radius: 20rpx;
            border-bottom-right-radius: 20rpx;
            color: #fff;
            font-weight: 600;
        }

        .look_more {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }
    }

    .goods_c {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .good {
            margin-bottom: 20rpx;
            width: 344rpx;
            border-radius: 20rpx;
            background-color: #fff;

            .image {
                position: relative;
                flex-shrink: 0;
                width: 344rpx;
                height: 344rpx;
                border-top-left-radius: 10rpx;
                border-top-right-radius: 10rpx;
                overflow: hidden;

                .sold_out {
                    position: absolute;
                    z-index: 1;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba($color: #000, $alpha: 0.4);
                    color: #F6F6F6;
                    font-size: 32rpx;
                    font-weight: bold;
                }
            }

            .body {
                padding: 10rpx 20rpx 20rpx;
            }

            .row {
                display: flex;
                align-items: center;

                .last_child {
                    flex: 1;
                    display: flex;
                    justify-content: flex-end;
                    padding-left: 10rpx;
                }
            }

            .name {
                font-size: 32rpx;
                font-weight: bold;
            }



            .row2 {
                margin: 10rpx 0;

                .item {
                    font-size: 24rpx;
                    color: #9F9F9F;
                }

                .middle {
                    margin-left: 20rpx;
                }
            }

            .supplier {
                display: flex;
                align-items: center;
                color: #9F9F9F;

                .text {
                    margin: 0 8rpx;
                    font-size: 24rpx;
                }

                .icon {
                    width: 24rpx;
                    height: 24rpx;
                }
            }


            .bottom {
                display: flex;
                align-items: center;
                padding-top: 14rpx;

                .price_c {
                    flex: 1;
                    padding: 4rpx 20rpx 0 0;
                    font-size: 32rpx;
                    font-weight: 600;
                    color: var(--themColorRed);

                }

                .unit {
                    font-size: 28rpx;
                }

                .add_cart_icon {
                    width: 48rpx;
                    height: 48rpx;
                }
            }
        }
    }
}

.video_look {
    margin-bottom: 20rpx;

    .head {
        display: flex;
        align-items: center;
        padding: 24rpx 0 24rpx 20rpx;

        .title_c {
            display: flex;
            align-items: center;
            font-size: 32rpx;
            font-weight: bold;

            .dot {
                margin: 0 8rpx;
                width: 8rpx;
                height: 8rpx;
                border-radius: 50%;
                background-color: #333;
            }
        }

        .describe {
            margin-left: 20rpx;
            padding: 4rpx 18rpx;
            background-color: var(--secondThemeColor);
            border-top-left-radius: 20rpx;
            border-bottom-right-radius: 20rpx;
            color: #fff;
            font-weight: 600;
        }

        .look_more {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }
    }

    .goods_c {
        padding: 0 20rpx;
        border-radius: 20rpx;
        background-color: #fff;
    }

    .good {
        display: flex;
        align-items: center;
        padding: 20rpx 0;
        border-bottom: 2rpx solid var(--borderColor);


        .image {
            position: relative;
            flex-shrink: 0;
            width: 226rpx;
            height: 226rpx;
            border-radius: 10rpx;
            overflow: hidden;

            .video_mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }

            .video {
                width: 100%;
                height: 100%;
                border-radius: 10rpx;
                overflow: hidden;
            }
        }

        .right {
            flex: 1;
            padding-left: 20rpx;
        }

        .supplier_c {
            margin-bottom: 20rpx;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 10rpx;
            border-bottom: 2rpx solid var(--borderColor);
        }

        .supplier {
            display: flex;
            align-items: center;
            color: #515151;

            .text {
                margin: 0 8rpx;
            }

            .icon {
                width: 28rpx;
                height: 28rpx;
            }
        }

        .row1 {
            margin: 4rpx 0 8rpx;
            display: flex;
            font-weight: bold;
        }

        .second {
            padding: 0 20rpx;
        }

        .progress_c {
            display: flex;
            align-items: center;
            margin: 16rpx 0 20rpx;

            .progress {
                position: relative;
                width: 100%;
                height: 24rpx;
                background-color: #D3FDF9;
                border-radius: 14rpx;
                overflow: hidden;

                .now {
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 100%;
                    border-radius: 14rpx;
                    background-color: var(--themColor);
                }

                .text {
                    box-sizing: border-box;
                    position: absolute;
                    left: 0;
                    top: 0;
                    padding-left: 10rpx;
                    width: 100%;
                    height: 100%;
                    color: #FFAB1C;
                    font-size: 20rpx;
                    line-height: 24rpx;
                }
            }
        }

        .bottom_bar {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;

            .price_c {
                display: flex;
                align-items: baseline;
            }

            .price {
                font-size: 38rpx;
                font-weight: 600;
                color: var(--themColorRed);
            }

            .old_price {
                margin-left: 10rpx;
                text-decoration: line-through;
                color: var(--themColorGrey);
                font-weight: 500;
            }

            .button {
                padding: 12rpx 30rpx;
                border-radius: 8rpx;
                background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);
                color: #fff;
            }
        }
    }
}

.supplier_recommend {
    margin: 20rpx 0;
    padding: 0 20rpx;
    border-radius: 10rpx;
    background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);

    .head {
        display: flex;
        align-items: center;
        padding: 24rpx 0;
        color: #fff;

        .title_c {
            display: flex;
            align-items: center;
            font-size: 32rpx;
            font-weight: bold;

            .dot {
                margin: 0 8rpx;
                width: 8rpx;
                height: 8rpx;
                border-radius: 50%;
                background-color: #fff;
            }
        }

        .describe {
            margin-left: 20rpx;
            padding: 4rpx 18rpx;
            background-color: #fff;
            border-top-left-radius: 20rpx;
            border-bottom-right-radius: 20rpx;
            color: var(--themColor);
            font-weight: 600;
        }
    }

    .shop {
        padding: 0 20rpx;
        background-color: #fff;
        border-radius: 20rpx;

        &+.shop {
            margin-top: 20rpx;
        }

        .info {
            display: flex;
            padding: 20rpx 0;
            border-bottom: 2rpx solid #F9F5F6;

            .image {
                flex-shrink: 0;
                width: 120rpx;
                height: 120rpx;
                border-radius: 20rpx;
                overflow: hidden;
            }

            .right_content {
                flex: 1;
                padding-left: 14rpx;
            }

            .row {
                display: flex;
                align-items: center;
            }

            .row1 {
                justify-content: space-between;

                .name {
                    font-size: 32rpx;
                    font-weight: bold;
                }

                .enter {
                    display: flex;
                    color: var(--themColorGrey);
                }
            }

            .labels {
                margin: 0 0 8rpx;
                flex-wrap: wrap;

                .item {
                    margin-top: 8rpx;
                    margin-right: 16rpx;
                    padding: 2rpx 10rpx;
                    font-size: 20rpx;
                    color: #fff;
                    border-radius: 8rpx;
                }
            }

            .row3 {
                align-items: center;
                font-size: 24rpx;

                .rate {
                    display: flex;
                    align-items: center;
                    color: #FFA300;
                }

                .sales {
                    color: var(--themColorGrey);
                    padding-left: 20rpx;
                }
            }

        }

        .evaluate_image_c {
            padding-top: 20rpx;
            display: flex;

            .goods {
                margin-right: 20rpx;
                margin-bottom: 20rpx;

                &:nth-child(4n) {
                    margin-right: 0;
                }

                .img_c {
                    height: 146.5rpx;
                    border-radius: 10rpx;
                    overflow: hidden;
                }
            }

            .full {
                flex: 1;
            }

            .no_full {
                width: 146.5rpx;
            }

            .name {
                text-align: center;
                font-size: 24rpx;
                margin-top: 10rpx;
            }
        }
    }


    .look_more {
        text-align: center;
        padding: 20rpx 0 24rpx;
        color: #fff;
    }
}

.class_tabs {
    position: sticky;
    z-index: 10;
    background-color: #fff;
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
    overflow: hidden;
}

.public_goods {
    margin-bottom: 20rpx;
    padding: 40rpx 20rpx 20rpx;
    background-color: #fff;
    border-bottom-left-radius: 20rpx;
    border-bottom-right-radius: 20rpx;
    overflow: hidden;

    .list {
        margin-bottom: 14rpx;
        display: flex;
        padding-bottom: 20rpx;
        border-bottom: 2rpx solid var(--borderColor);


        .image_c {
            flex-shrink: 0;
            width: 152rpx;
            height: 152rpx;
            border-radius: 10rpx;
        }

        .right_content {
            flex: 1;
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            padding-left: 20rpx;
        }

        .title {
            font-weight: 500;
            color: #515151;
        }

        .color {
            margin: 4rpx 0;
            color: #AAA;
            font-size: 24rpx;
        }

        .des_c {
            display: flex;

            .item {
                font-size: 24rpx;
                color: #AAA;

                &+.item {
                    padding-left: 20rpx;
                }
            }
        }

        .bottom_bar {
            padding-top: 2rpx;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .price {
            flex: 1;
            display: flex;
            align-items: baseline;
            font-size: 30rpx;
            font-weight: bold;
            color: #DA5236;

            .icon {
                font-size: 24rpx;
            }
        }

        .collect_icon {
            width: 44rpx;
            height: 44rpx;
        }
    }
}